// import { BrowserRouter, Route, Switch } from 'react-router-dom'
// import Layout from './components/Layout/Layout'
// import Login from './views/Login/Login'
import React, { Component } from 'react'
import RouterView from './router/RouterView'

export default class App extends Component {
  render() {
    return (
      <>
        <RouterView></RouterView>
      </>
      // <BrowserRouter>
      //   <Switch>
      //     <Route path="/login" exact component={Login}></Route>
      //     <Route path="/404">错误处理</Route>
      //     <Route path="/" component={Layout}></Route>
      //   </Switch>
      // </BrowserRouter>
    )
  }
}
